<div class="popform">
    <p><strong>Files:</strong></p>
    <div class="popup-filelist">
        <?php
        foreach ($this->files as $item) {
            $user = $this->getUserDetail($item['uploader_id']);
        ?>
            <ul>
                <li style="list-style: disc inside none">
                    <a href="<?= $this->baseURI(); ?>planning/document/download/<?= $item['file']; ?>"><?= $item['name']; ?></a>
                    by <?= $user['fname'] . ' ' . $user['lname']; ?> at <?= $item['date']; ?>
                </li>
            </ul>
        <?php } ?>
    </div>
</div>